| Conditions | 2 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | 'use strict'; |
||
| 3 | function reCaptchaInit() { |
||
| 4 | var element = document.createElement('script'), |
||
| 5 | target = document.querySelectorAll('script')[0], |
||
| 6 | protocol = 'https:' == document.location.protocol ? 'https' : 'http'; |
||
| 7 | element.type = 'text/javascript'; |
||
| 8 | element.src = protocol + '://www.google.com/recaptcha/api.js?onload=reCaptchaOnloadCallback&render=explicit&hl='.concat(window.SS_LOCALE); |
||
| 9 | target.parentNode.insertBefore(element, target); |
||
| 10 | } |
||
| 11 | |||
| 33 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.